﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PesquisaEspecialista.ascx.cs" Inherits="CeA.Reports.Atendimento.Web.WebControls.PesquisaEspecialista" %>
<%@ Register Assembly="CeA.Reports.Atendimento.Web" Namespace="CeA.Reports.Atendimento.Web.ServerControls" TagPrefix="cc1" %>
<%@ Register Assembly="CeA.Reports.Atendimento.Web" Namespace="CeA.Reports.Atendimento.Web.ServerControls" TagPrefix="cc1" %>
<div id="popup" runat="server" class="popup" >
  <div class="popup-container" style="">
    <div class="popup-head" style="">
      <div class="popup-head-lc" style="">
        <div class="popup-head-rc" style="">
          <div class="popup-title" style="background-color: #F0F0F0">
            <span class="h1">
              <h2>Pesquisa de Especialista</h2>
            </span>
          </div>
        </div>
      </div>
    </div>
    
      
    <div class="popup-content" style="background-color:#F0F0F0">
      <table cellpadding="1px" cellspacing="1px" style="width:100%" border="0">
        <tr>
          <td style="width:60px"> <label for="txtSigla" class="label">Sigla</label> </td>
          <td style="width:auto">
            <asp:TextBox id="txtSigla" runat="server" CssClass="text-field" MaxLength="128" Width="100%" />
          </td>
           <td style="width:25px">
            <asp:Button ID="cmdPesquisar" runat="server" CssClass="search-buttom" OnClick="cmdPesquisar_Click" CausesValidation="false"/>
          </td>
        </tr>
        
        <tr>
          <td style="width:60px"><label for="txtNome" class="label">Nome</label></td>
          <td>
            <asp:TextBox id="txtNome" runat="server" CssClass="text-field" MaxLength="128" Width="100%" />
          </td>
          <td>&nbsp;</td>
        </tr>
      </table>


      <table cellpadding="0" cellspacing="0" border="0" style="width: 100%">
        <tr>
          <td colspan="3">
            <h2>Lista de Especialistas</h2>
          </td>
        </tr>
        <tr class="th">
          <td style="width: 21px">&nbsp</td>
          <td style="width: 100px">Sigla</td>
          <td style="width: auto">Nome</td>
        </tr>
      </table>
      
      <div class="scroll-div" style="height:65px;">
        <asp:DataList ID="dataList" runat="server" Width="100%" CellSpacing="1" CellPadding="0">
          <ItemStyle CssClass="cor-1" />
          <AlternatingItemStyle CssClass="cor-2" />
          <ItemTemplate>
            <table cellpadding="0" cellspacing="0" style="width: 100%">
              <tr class="list-row">
                <td style="width: 21px">
                  <cc1:GroupRadioButton ID="rbtItem" runat="server" GroupName="rfsid" Text='<%#DataBinder.Eval(Container.DataItem, "Id")%>' />
                </td>
                <td style="width: 100px">
                  <asp:Label ID="lblSigla" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "Sigla")%>' />
                </td>
                <td style="width: auto">
                  <asp:Label ID="lblNome" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "Nome")%>' />
                </td>
              </tr>
            </table>
          </ItemTemplate>
        </asp:DataList>
      </div>
      <span class="break">
        <asp:Button ID="cmdConfirmar" runat="server" CssClass="form-buttom" Text="Confirmar" CausesValidation="false" />
        <asp:Button ID="cmdCancelar" runat="server" CssClass="form-buttom" Text="Cancelar"  CausesValidation="false"/>
      </span>
    </div>


    <div class="popup-bot" style="">
      <div class="popup-bot-lc" style="">
        <div class="popup-bot-rc" style="">
          <div style="border:0px solid black;margin:0 15px 0 15px; height:15px; background-color:#F0F0F0"></div>
        </div>    
      </div>
    </div>
  </div>
</div>